package org.opsli.modulars.business.patrolRecordEXCEL.service.impl;

import org.opsli.api.wrapper.business.PatrolRecordExcel.PatrolRecordModel;
import org.opsli.core.base.service.impl.CrudServiceImpl;
import org.opsli.modulars.business.patrolRecordEXCEL.entity.PatrolRecord;
import org.opsli.modulars.business.patrolRecordEXCEL.mapper.PatrolRecordMapper;
import org.opsli.modulars.business.patrolRecordEXCEL.service.PatrolRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PatrolRecordServiceImpl extends CrudServiceImpl<PatrolRecordMapper, PatrolRecord, PatrolRecordModel>
        implements PatrolRecordService {

    @Autowired(required = false)
    private PatrolRecordMapper prm;

    public List getPatrolRecord(String devid, String StartTime, String endTime,String userName, String stationName) {
        return prm.getPatrolRecord(devid, StartTime, endTime,userName, stationName);
    }

}
